package com.cnswhy.cloud.common.rabbitmq.properties;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author cnswhy
 */
@ConfigurationProperties(prefix = CnswhyRabbitmqProperties.PREFIX)
@Data
@ToString
public class CnswhyRabbitmqProperties {
    public static final String PREFIX = "cnswhy.rabbitmq";

    /**
     * 是否开启Lettuce Redis
     */
    private Boolean enable = true;
    private String host ;
    private int port ;
    private String username ;
    private String password ;
    private String virtualHost = "/";

}
